package com.qfedu.service;

import com.qfedu.pojo.Loan;
import com.qfedu.pojo.MyLoan;

import java.math.BigDecimal;
import java.util.List;

public interface LoanService {
    List<Loan> findAllLoan();
    Loan findLoanById(int pid);
    void addLoan(String idcode, int pid, BigDecimal price,int back,String pname,int loan_f);
    List<MyLoan> findMyLoan(String idcode);

}
